package com.ruoyi.sensitives.mapper;

import java.util.List;
import com.ruoyi.sensitives.domain.Sensitives;

/**
 * 敏感词Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-12
 */
public interface SensitivesMapper 
{
    /**
     * 查询敏感词
     * 
     * @param sensitiveid 敏感词主键
     * @return 敏感词
     */
    public Sensitives selectSensitivesBySensitiveid(Long sensitiveid);

    /**
     * 查询敏感词列表
     * 
     * @param sensitives 敏感词
     * @return 敏感词集合
     */
    public List<Sensitives> selectSensitivesList(Sensitives sensitives);

    /**
     * 新增敏感词
     * 
     * @param sensitives 敏感词
     * @return 结果
     */
    public int insertSensitives(Sensitives sensitives);

    /**
     * 修改敏感词
     * 
     * @param sensitives 敏感词
     * @return 结果
     */
    public int updateSensitives(Sensitives sensitives);

    /**
     * 删除敏感词
     * 
     * @param sensitiveid 敏感词主键
     * @return 结果
     */
    public int deleteSensitivesBySensitiveid(Long sensitiveid);

    /**
     * 批量删除敏感词
     * 
     * @param sensitiveids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSensitivesBySensitiveids(Long[] sensitiveids);
}
